import 'package:juju/fake/fake_message_tool.dart';

///==================================
/// 用户相关 数据模型（全局流通）
///==================================
class UserInfoModel {
  UserInfo? myInfo;
  bool login = false;
  bool registerStatus = false;
  String code = "";

  static final UserInfoModel _userinfoModel = UserInfoModel._();
  UserInfoModel._();
  static UserInfoModel getInstance() {
    return _userinfoModel;
  }

  void setDefault() {
    myInfo = null;
    login = false;
    registerStatus = false;
    code = "";
  }
}
